import request from "@/utils/request";

export function getFileToken(data){
  return request({
    url:"/sys-storage/file",
    method:"post",
    data: data
  })
}

export function downloadFile(params){
  return request({
    url:"/sys-storage/download",
    method:"get",
    params:params
  })
}
export function changeFileG9s(groupToken,data){
  return request({
    url:`/sys-storage/file/token?groupToken=${groupToken}`,
    method:"put",
    data:data,
  })
}